#
# Be sure to run `pod lib lint YKSwiftViews.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'YKSwiftViews'
  s.version          = '0.1.0'
  s.summary          = 'A short description of YKSwiftViews.'


  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/edward/YKSwiftViews'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'edward' => 'yanyongkun@linghit.com' }
  s.source           = { :git => 'https://github.com/edward/YKSwiftViews.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.source_files = 'YKSwiftViews/Classes/*'
  
  s.subspec 'Fragment' do |ss|
    ss.source_files = 'YKSwiftViews/Classes/Fragment/*.{swift}'
  end
  
  s.subspec 'LoopView' do |ss|
    ss.source_files = 'YKSwiftViews/Classes/LoopView/*.{swift}'
  end
  
  s.subspec 'PickerView' do |ss|
    ss.source_files = 'YKSwiftViews/Classes/PickerView/*.{swift}'
  end
  
  s.subspec 'WebView' do |ss|
    ss.source_files = 'YKSwiftViews/Classes/WebView/*.{swift}'
  end
  
  s.subspec 'SimpleScroll' do |ss|
    ss.source_files = 'YKSwiftViews/Classes/SimpleScroll/*.{swift}'
  end
  
  # s.resource_bundles = {
  #   'YKSwiftViews' => ['YKSwiftViews/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
